package org.pro.system.serviceImpl;

import org.pro.base.domain.SysUsers;
import org.pro.base.mapper.SysUsersMapper;
import org.pro.system.service.SysUsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysUsersServiceImpl implements SysUsersService{

	@Autowired
	private SysUsersMapper sysUsersMapper;
	@Override
	public SysUsers queryById(int id) {
		return sysUsersMapper.selectByPrimaryKey(id);
	}
	@Override
	public int save(SysUsers sysUsers) {
		return sysUsersMapper.insertSelective(sysUsers);
	}

}
